﻿using System.Collections.Generic;

namespace ElectronicCommerce.Framework.Web.Mvc
{
    public class MetadataRss : List<MetadataLink>
    {
        public void Add(string title, string url)
        {
            this.Add(new MetadataLink()
            {
                Type = "application/rss+xml",
                Rel = "alternate",
                Title = title,
                Href = url,
            });
        }
    }
}
